package com.db.concurrency;

public class UnsafeCounter implements Counter {

  private long counter = 0;
  
  public UnsafeCounter() {
  }

  @Override
  public void increment() {
    counter++;
  }

  @Override
  public long getCounter() {
    return counter;
  }

}
